Replication code for
"Horizon-Dependent Risk Aversion and the Timing and Pricing of Uncertainty"
by Marianne Andries, Thomas Eisenbach and Martin Schmalz

The code produces the analysis in the paper and should be run in the following order:
1) combine_data.do (after downloading the input data from the webpages listed in the code)
2) run calibration2024.m (it calls the data file yields_recession_2023R.csv which needs to be in the same folder)
3) for the timing premium, run TimingPremium.m, while AES2019P2.m and AES2019P5.m are open